home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 1191 / 1191.xpi / chrome / reminderfox.jar / content / reminderfox / mail / rmFxMailIcon.xml < prev    next >
Extensible Markup Language  |  2009-10-11  |  916b  |  38 lines

  1. <?xml version="1.0"?>
  2. <bindings id="going4MailIcons" xmlns="http://www.mozilla.org/xbl"
  3.     xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  4.  
  5.  
  6.     <binding id="changeSendPlusIcon">
  7.         <content>
  8.             <xul:toolbarbutton />
  9.         </content>
  10.  
  11.         <implementation>
  12.             <constructor>            
  13.                 var Class = 'toolbarbutton-1 chromeclass-toolbar-additional ';
  14.                 var msgnr = "";
  15.                 try {
  16.                     // PB | SM | TB1 | TB2 | TB3
  17.                     msgnr =    rmFxMsg.whichMessenger();
  18.                 } catch (ex) {}
  19.                 
  20.                 switch (msgnr) {
  21.                     case "PB":
  22.                         Class = Class + 'rmFx_SendPlusPBox' 
  23.                         break;
  24.                     case "TB3":
  25.                         Class = Class + 'rmFx_SendPlusTB3' 
  26.                         break;
  27.                         
  28.                     default:
  29.                         Class = Class + 'rmFx_SendPlusTBird' 
  30.                         break;        
  31.                 }
  32.                 document.getElementById('rmFx_SendPlus').setAttribute("class", Class);    
  33.             </constructor>
  34.         </implementation>
  35.     </binding>
  36.  
  37. </bindings>
  38.